export const data = {
  form: {},
  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    contNo: null,
    locationNo: null,
    locationType: null,
    warehouseNo: null,
    zoneNo: null,
    spuNo: null,
    lotNo: null,
    stockQty: null,
    lockedQty: null,
    stockStatus: null,
    lockStatus: null,
    lockReason: null,
    qualityStatus: null,
    ebeln: null,
    ebelp: null,
    reelId: null,
    ibDetailId: null,
    supplierNo: null,
    overdueFlag: null,
    createName: null,
    comments: null
  }
}

export const column = [
  { prop: "stockId", label: "库存ID" },
  { prop: "contNo", label: "容器条码", width: "135px", showOverflow: true },
  { prop: "locationNo", label: "所在位置", width: "135px", showOverflow: true },
  { prop: "locationType", label: "位置类型" },
  { prop: "spuNo", label: "物料编号", width: "135px", showOverflow: true },
  { prop: "spuName", label: "物料名称", width: "135px", showOverflow: true },
  { prop: "stockQty", label: "库存数量" },
  { prop: "lockedQty", label: "分配数量" },
  { prop: "stockStatus", label: "库存状态" },
  { prop: "lockStatus", label: "是否冻结" },
  { prop: "lockReason", label: "冻结原因", width: "135px", showOverflow: true },
  { prop: "qualityStatus", label: "质检状态" },
  { prop: "ebeln", label: "采购单号", width: "135px", showOverflow: true },
  { prop: "ebelp", label: "行项目号" },
  { prop: "lotNo", label: "批次编号", width: "135px", showOverflow: true },
  { prop: "reelId", label: "RELID", width: "135px", showOverflow: true },
  { prop: "ibDetailId", label: "入库明细" },
  { prop: "overdueFlag", label: "超期标识" },
  { prop: "warehouseNo", label: "所属仓库", width: "135px", showOverflow: true },
  { prop: "zoneNo", label: "所属库区", width: "135px", showOverflow: true },
  { prop: "supplierNo", label: "供应商", width: "135px", showOverflow: true },
  { prop: "createName", label: "创建者" },
  { prop: "createDate", label: "创建时间", width: "180px" },
  { prop: "updateName", label: "更新者" },
  { prop: "updateDate", label: "更新时间", width: "180px" },
  { prop: "comments", label: "备注信息", width: "100px", showOverflow: true },
  { prop: "operate", label: "操作", fixed: "right", type: 'detail' },
]

export const formList = [
  { prop: "warehouseNo", label: "所属仓库" },
  { prop: "zoneNo", label: "所属库区" },
  { prop: "contNo", label: "容器条码" },
  { prop: "locationNo", label: "所在位置" },
  { prop: "ebeln", label: "采购单号" },
  { prop: "ebelp", label: "行项目号" },
  { prop: "spuNo", label: "物料编号" },
  { prop: "lotNo", label: "批次编号" },
  { prop: "stockQty", label: "库存数量" },
  { prop: "lockedQty", label: "分配数量" },
  { prop: "lockStatus", label: "冻结状态", type: 'select' },
  { prop: "lockReason", label: "冻结原因" },
  { prop: "qualityStatus", label: "质检状态", type: 'select' },
  { prop: "reelId", label: "RELID" },
  { prop: "ibDetailId", label: "入库明细" },
  { prop: "supplierNo", label: "供应商" },
  { prop: "comments", label: "备注信息" },
  { prop: "createName", label: "创建者" },
  { prop: "createDate", label: "创建时间", type: 'date' },
]